import java.util.Scanner;

public class NumberFour {
    public static void main(String[] args) {
        System.out.println("请输入年龄和身高：（年龄是整数，身高是小数，中间使用逗号分隔）");
        String s=new Scanner(System.in).next();
        String[] split = s.split(",");
        Integer integer = Integer.valueOf(split[0]);
        Double aDouble = Double.valueOf(split[1]);
        System.out.println("转成整数后的年龄是："+integer);
        System.out.println("转成小数后的身高是："+aDouble);

    }
}
